#include "type.h"
using namespace System;
using namespace System::Collections;

public ref class Node : Object
{
public:
	Node(unsigned int index, String^ name, NType type);

	unsigned int index;
	NType type;
	String^ name;

	GType gate;
	int fanin;
	int fanout;

	ArrayList^ upperNodes;
	ArrayList^ downNodes;

	int level;
};

